<!DOCTYPE html>
<html lang="en">
<head>
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"
          charset="UTF-8">

    <title>启慧智库</title>

    <link href="../css/jquery-ui.min.css" rel="stylesheet">
    <link href="../css/bootstrap-3.3.5-dist/css/bootstrap.css" rel="stylesheet">
    <link href="../css/font-awesome.min.css" rel="stylesheet">

    <!--主页面的css-->
</head>

<body>



        <div class="input-group" style="padding:10px;">
                <input type="text" class="form-control searchValue" placeholder="搜索任意关键字" style="width:100%;" >
                <span class="input-group-btn" >
                        <button class="btn btn-success">
                                <span class="glyphicon glyphicon-search">搜索</span>
                        </button>
                </span>
        </div>
       </p>
	<div class="col-sm-4 col-md-4 col-lg-4" style="margin-bottom:20px">
	<select id="select">
		<option value="添加习题">添加习题</option>
		<option value="单选题">单选题</option>
		<option value="多选题">多选题</option>
		<option value="判断题">判断题</option>
	</select>
	</div>


    <table class="table table-hover table-striped  table-bordered  table-condensed  table-responsive "  >
        <thead style="word-break: keep-all;white-space:nowrap">
        <tr id="serverOptions">
            <th>习题对应实验</th>
            <th>教师账户</th>
            <th>教师</th>
            <th>习题类型</th>
            <th>习题分值</th>
            <th style="max-width:300px;min-width:200px;">习题题目</th>
            <th>正确答案</th>
            <th style="min-width: 100px;">操作</th>
        </tr>
        </thead>
        <tbody id="tab">


        </tbody>

    </table>


<!--编辑框-->
<div  style="overflow: auto;z-index: 1004;width:auto;height: 100%;position: fixed;left: -100%;right: 0px;top: -120%;bottom: 0px;display:block;" id="editServerConfigTable">
    <div class="modal "
         style="overflow:hidden;overflow-y:hidden;position:relative;left:0px;right:0px;bottom:0px;top:0px;margin:auto;display:block;">
        <div class="modal-dialog">
            <div class="modal-content  ">
                <div class="modal-header" style="cursor: move;">

                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>

                    <h4 class=" glyphicon glyphicon-edit " style="color: green;">编辑</h4>
                </div>

                <div class="modal-body" id="editBody" >
                    <div class="input-group col-md-12" style="margin-top: 10px">
                        <!--IP-->
                        <div class="input-group-addon "  style="width: 17%">课程名称</div>
                        <input id="name" class=" form-control "  style="width: 100%" >
                    </div>

			<div class="input-group col-md-12" style="margin-top:10px">
				<div class="input-group-addon" style="width:17%">科目</div>
				<div class="btn-group" style="width:100%">
                                <input id="subject" class=" form-control "  style="width: 100%" disabled>
				</div>
			</div>
			<div class="input-group col-md-12" style="margin-top:10px">
				<div class="input-group-addon" style="width:17%">班级</div>
                                <input id="classNumber" class=" form-control "  style="width: 100%" >
			</div>
			<div class="input-group col-md-12" style="margin-top:10px">
				<div class="input-group-addon" style="width:17%">实验</div>
				<div class="btn-group" style="width:100%">
                                <input id="experiment" class=" form-control "  style="width: 100%" disabled>
				</div>
			</div>


                    <div class="input-group col-md-12" style="margin-top: 10px">
                        <!--备注-->
                        <div class="input-group-addon "  style="width: 17%">描述</div>
                        <input  id="description" class=" form-control "  style="width: 100%" >
                    </div>



                </div>
                <div class="modal-footer">
                    <button style="float:left" type="button" class="btn btn-default" data-dismiss="modal" id="closeEditServer">取消</button>
                    <button type="button" style="float:right" class="btn btn-success" data-dismiss="modal" id="saveServerConfig">保存</button>
                </div>
            </div>
        </div>
    </div>
</div>












<div  style="position: fixed;left: 0px;right: 0px;top: 0px;bottom: 0px;margin: auto;display:none ;z-index: 1004;" id="batchServerDiv">
    <div class="modal "
         style="height: 100%;overflow:auto;position:relative;left:0px;right:0px;bottom:0px;top:0px;margin:auto;display:block;">
        <div class="modal-dialog" style="width:80%">
            <div class="modal-content  " style="height:500px">
                <div class="modal-header" style="cursor: move;">

                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>

                    <h4 class=" glyphicon glyphicon-success  glyphicon glyphicon-plus " >
			<span>批量添加服务器配置</span>
		</h4>
                </div>


                <div class="modal-body">
			<textarea id="batchCreateServers" class="form-control" style="font-family:华文;color:white;background:#293038;letter-spacing:2px;height:320px;;"></textarea>
                </div>
                <div class="modal-footer clearfix">
                    <button type="button"  style="float:right" class="btn btn-success" data-dismiss="modal" id="createServers">创建</button>
                    <button type="button" style="float:left" class="btn btn-default" data-dismiss="modal" id="closeBatchDiv">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>





<script src="../js/inventory.js"></script>
</body>
</html>
